package com.youlu.campus.entity.course;

import com.youlu.campus.base.base.EntityBase;
import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;

/**
 * @author : [dengbo]
 * @className : CourseOrderRefundApply
 * @description : [订单退款申请表]
 * @createTime : [2022/5/21 11:00]
 */
@Data
@Document(collection = "course_order_refund_apply")
public class CourseOrderRefundApply extends EntityBase {
    /**
     * 订单号
     */
    @Indexed
    private String orderNo;
    /**
     * 订单Id
     */
    @Indexed
    private String orderId;
    /**
     * 退款原因
     */
    private String applyReason;
    /**
     * 0 退款申请 1 驳回 2通过
     */
    private Integer status;
    /**
     * 申请日期
     */
    private LocalDateTime applyTime;
    /**
     * 操作通过/驳回原因
     */
    private String opReason;
    /**
     * 操作日期
     */
    private LocalDateTime opTime;
}
